Repository navigation
chore(aws-lambda): give the packed size budget its usual 5% headroom - #8176
Merged
Merged
Conversation
#8173 set the budget to 82,000 against 81,378 bytes measured, about 0.8% over. The budget file's own rule is 5% above measured, so the next small change would trip it again: ceil(81,378 × 1.05) = 85,447. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
miguel-heygen
approved these changes
Nov 18, 2026
miguel-heygen
left a comment
Collaborator
There was a problem hiding this comment.
Checked at 9c67d292: one line in scripts/package-size-budgets.json, @hyperframes/aws-lambda packed 82,000 -> 85,447 = ceil(81,378 x 1.05), the file's 5% headroom rule. CI green.
Verdict: APPROVE
Reasoning: The new budget is exactly the rule's figure for the measured size; nothing else changes.
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Raises the
@hyperframes/aws-lambdapacked size budget from 82,000 to 85,447 bytes.Why
#8173 set the budget to 82,000 bytes, but the package measures 81,378 bytes, so it had only about 0.8% headroom and the next small change would fail
verify:packed-manifestsagain. The budget file's own rule (SIZE_BUDGET_HEADROOMinscripts/verify-packed-manifests.mjs) puts a budget 5% above the measured size: ceil(81,378 × 1.05) = 85,447. 81,378 also stays above the 85% ratchet floor (72,630).Related work
Follows a review note on #8173.
How
One number in
scripts/package-size-budgets.json. The unpacked budget is unchanged.Test plan
Buildrunsverify:packed-manifestsagainst the new budget🤖 Generated with Claude Code